package whisper.support.user.service;

import org.springframework.cache.annotation.Cacheable;

import java.util.Set;

/**
 * Created by JT on 2018/5/29
 */
public interface RoleService {

    @Cacheable(value = "roles", key = "#username")
    Set<String> findByUsername(String username);
}
